package com.zezheng.qian.project.system.domain;

import com.zezheng.qian.framework.aspectj.lang.annotation.Excel;
import com.zezheng.qian.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 用户收藏对象 sys_user_collect
 *
 * @author cuijie
 * @date 2022-02-16
 */
public class SysUserCollect extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    private Long id;
    /** 用户ID */
    private Long userId;

    /** 学校编号 */
    @Excel(name = "学校编号")
    private String schoolNumber;

    /** 学校名称 */
    @Excel(name = "学校名称")
    private String schoolName;

    /** 专业编号 */
    @Excel(name = "专业编号")
    private String majorNumber;

    /** 专业名称 */
    @Excel(name = "专业名称")
    private String majorName;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setSchoolNumber(String schoolNumber)
    {
        this.schoolNumber = schoolNumber;
    }

    public String getSchoolNumber()
    {
        return schoolNumber;
    }
    public void setSchoolName(String schoolName)
    {
        this.schoolName = schoolName;
    }

    public String getSchoolName()
    {
        return schoolName;
    }
    public void setMajorNumber(String majorNumber)
    {
        this.majorNumber = majorNumber;
    }

    public String getMajorNumber()
    {
        return majorNumber;
    }
    public void setMajorName(String majorName)
    {
        this.majorName = majorName;
    }

    public String getMajorName()
    {
        return majorName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("userId", getUserId())
                .append("schoolNumber", getSchoolNumber())
                .append("schoolName", getSchoolName())
                .append("majorNumber", getMajorNumber())
                .append("majorName", getMajorName())
                .toString();
    }
}
